#include "main.h"

//using namespace std;

int main(){
  /*printf("Inicializando...\n");
  TDC_Automata *atsdpre = new TDC_Automata_drv_send_data_pre();
  TDC_Automata *atinit = new TDC_Automata_drv_init();
  TDC_Automata *atscpre = new TDC_Automata_drv_setcontrast_pre();
  TDC_Automata *current_at;
  int resp, i;
  vector<TDC_Automata*> automatas;
  automatas.push_back(atinit);
  automatas.push_back(atscpre);
  automatas.push_back(atsdpre);
  for (i = 0; i < automatas.size();i++){
    current_at = automatas.at(i);
    cout << "\n\n** Automato: " << current_at->name << "\n\n";
    resp = 0;
    while (resp == 0){
      cout << "lcd_var_data_cmd: ";
      cin >> current_at->lcd_var_data_cmd;
      cout << "lcd_var_cmd: ";
      cin >> current_at->lcd_var_cmd;
      cout << "Access Type: ";
      cin >> current_at->access_type;
      resp = current_at->runStep();    
    }
  }*/
  aaa = "aaa";
  TDC_Automata_Engine *tdce = new TDC_Automata_Engine();
  tdce->runStep(1,aaa);
  return 0;
}
